#获取当前sh目录
sh_dir=$(dirname $(realpath $0))
echo "${sh_dir}"

find ${sh_dir} -type d -name "build" -exec rm -rf {} +
find ${sh_dir} -type d -name ".vscode" -exec rm -rf {} +
find ${sh_dir} -type d -name "__pycache__" -exec rm -rf {} +
find ${sh_dir} -type d -name "crop_py" -exec rm -rf {} +
find ${sh_dir} -type d -name "crop_cpp" -exec rm -rf {} +
find ${sh_dir} -type d -name "crop_triton" -exec rm -rf {} +
find ${sh_dir} -type f -name "*.so" -delete
